<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<% 
String path = request.getContextPath(); //解決跳轉后樣式丟失的問題
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 	
%>
<!DOCTYPE HTML>
<html>

	<head>
		<title>后台管理系统</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="<%=path %>/background/style/resource/assets/css/dpl-min.css" rel="stylesheet" type="text/css" />
  	<link href="<%=path %>/background/style/resource/assets/css/bui-min.css" rel="stylesheet" type="text/css" />
   	<link href="<%=path %>/background/style/resource/assets/css/main-min.css" rel="stylesheet" type="text/css" />
	</head>

	<body>

		<div class="header">

			<div class="dl-title">
				<!--<img src="/chinapost/Public/assets/img/top.png">-->
			</div>

			<div class="dl-log">欢迎您，<span class="dl-log-user">${user.name}</span>
			
				<a href="../background/login.jsp" title="退出系统" class="dl-log-quit">[退出]</a>
			</div>
		</div>
		<div class="content">
			<div class="dl-main-nav">
		
				<div class="dl-inform">
					<div class="dl-inform-title"><s class="dl-inform-icon dl-up"></s></div>
				</div>
				
				<ul id="J_Nav" class="nav-list ks-clear">
					<li class="nav-item dl-selected">
						<div class="nav-item-inner nav-order">主页</div>
					</li>
					<li class="nav-item dl-selected">
						<div class="nav-item-inner nav-order">商家店铺管理</div>
					</li>

				</ul>
			</div>
			<ul id="J_NavContent" class="dl-tab-conten">
	
			</ul>
		</div>
	  <script type="text/javascript" src="<%=path%>/background/style/resource/assets/js/jquery-1.8.1.min.js"></script>
  <script type="text/javascript" src="<%=path%>/background/style/resource/assets/js/bui-min.js"></script>
  <script type="text/javascript" src="<%=path%>/background/style/resource/assets/js/common/main-min.js"></script>
  <script type="text/javascript" src="<%=path%>/background/style/resource/assets/js/config-min.js"></script>
		<script>
			BUI.use('common/main', function() {
				var config = [ {
					 id:'1', homePage : '9',menu:[{
						 text:'主页',items:[{id:'9',text:'主页',href:'../background/business/index.jsp'},	{
								id: '2',
								text: '商家信息',
								href: '../background/business/businessMsg.jsp'
							}, {
								id: '3',
								text: '查询订单',
								href: '../background/business/orderform.jsp'
							}, {
								id: '4',
								text: '仓库清单',
								href: '../background/business/warehouse.jsp'
							}, {
								id: '5',
								text: '管理热点信息',
								href: '../background/business/hotspot.jsp'
							}, {
								id: '6',
								text: '评价管理',
								href: '../background/business/comment.jsp'
							},{
								id: '7',
								text: '用户列表',
								href: '../background/business/usersform.jsp'
							}]
					 }]
				  },{
					id: '7',
					menu: [{
						text: '商家店铺管理',
						items: [{
							id: '2',
							text: '商家信息',
							href: '../background/business/businessMsg.jsp'
						}, {
							id: '3',
							text: '查询订单',
							href: '../background/business/orderform.jsp'
						}, {
							id: '4',
							text: '仓库清单',
							href: '../background/business/warehouse.jsp'
						}, {
							id: '5',
							text: '管理热点信息',
							href: '../background/business/hotspot.jsp'
						}, {
							id: '6',
							text: '评价管理',
							href: '../background/business/comment.jsp'
						},{
							id: '7',
							text: '用户列表',
							href: '../background/business/usersform.jsp'
						}]
					}]
				}];
				new PageUtil.MainPage({
					modulesConfig: config
				});
				/* index(); */
			});
			/* function index(){
				$.get("/tbpoject/background/login.jsp",{},function(data){
					alert(data)
				$('.tab-content-container').html('<div class="tab-content" style>'+data+'</div>');
				})
			} */
		</script>
	</body>

</html>